package com.tunxing.行为型.责任链设计模式2;

public abstract class AbstractHandler {

    public AbstractHandler nextHandler;

    public abstract void handleRequest(Request request);

    public void addNextHandler(AbstractHandler handler) {
        this.nextHandler = handler;
    }
}